All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sun.java.swing.event.TreeExpansionEvent

java.lang.Object
   |
   +----java.util.EventObject
           |
           +----com.sun.java.swing.event.TreeExpansionEvent

public class TreeExpansionEvent
extends EventObject
An event used to identify a single path in a tree. The source returned by getSource will be an instance of JTree.

Warning: serialized objects of this class will not be compatible with future swing releases. The current serialization support is appropriate for short term storage or RMI between Swing1.0 applications. It will not be possible to load serialized Swing1.0 objects with future releases of Swing. The JDK1.2 release of Swing will be the compatibility baseline for the serialized form of Swing objects.


Variable Index

 o path
Path to the value this event represents.

Constructor Index

 o TreeExpansionEvent(Object, TreePath)

Method Index

 o getPath()
Returns the path to the value that has been expanded/collapsed.

Variables

 o path
 protected TreePath path
Path to the value this event represents.

Constructors

 o TreeExpansionEvent
 public TreeExpansionEvent(Object source,
                           TreePath path)

Methods

 o getPath
 public TreePath getPath()
Returns the path to the value that has been expanded/collapsed.


All Packages  Class Hierarchy  This Package  Previous  Next  Index